package com.xyhy.core.utils.number;

import java.util.Optional;

public class NumbersUtil {

  public static final String toString(Number number) {
    return Optional.ofNullable(number).map(x -> x.toString()).orElse(null);
  }

}
